package com.test.demo.mongo;

import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * MongoDB调用接口
 * @author kk
 *
 */
public interface UserRepository extends MongoRepository<User, Long>{
	User findByUsername(String username);

}
